package com.smforj.ssm.modules.lib.domain;

import java.util.Date;

import com.smforj.ssm.frame.core.bean.BaseBean;
import com.smforj.ssm.modules.lib.constant.RecordType;
import com.smforj.ssm.modules.lib.constant.TerminalType;

/***
 * 增加了uuid
 * 
 * @author Haijun Gao 
 * @date 2016-8-1 上午11:16:42
 * @desp http://www.cnblogs.com/saga5998/
 * @email 573107773@qq.com
 */
public class CoreRecord extends BaseBean { 
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -1232742175883490610L;

	/***
	 * 重写了父类中的UUID
	 */
	private Integer rid; 
	
	private String readerId;
	
	private String bookId;

    private String terminalId;
    
    private TerminalType terminalType; 

    private Date recordDate;

    private RecordType recordType;

    private String remark;  
    

    /***
     * 获取主键
     * @return
     * @date 2016-8-3 上午11:56:31
     */
    public Integer getRid() {
        return rid;
    }

    /***
     * 设置主键
     * @param rid
     * @date 2016-8-3 上午11:55:50
     */
    public void setRid(Integer rid) {
        this.rid = rid;
    }

	public String getReaderId() {
		return readerId;
	}

	public void setReaderId(String readerId) {
		this.readerId = readerId;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public TerminalType getTerminalType() {
		return terminalType;
	}

	public void setTerminalType(TerminalType terminalType) {
		this.terminalType = terminalType;
	}

	public Date getRecordDate() {
		return recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}

	public RecordType getRecordType() {
		return recordType;
	}

	public void setRecordType(RecordType recordType) {
		this.recordType = recordType;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}  
    
}